﻿<%@ Control Language="VB" AutoEventWireup="false" CodeFile="AddDirtyHeader.ascx.vb"
    Inherits="WebForm_ManageWorkRecord_AddDirtyHeader" %>
<%@ Register Src="AddLeader.ascx" TagName="AddLeader" TagPrefix="My" %>
<%@ Register Src="~/WebForm/AddControl/AddWorkHeaderControl.ascx" TagName="AddWorkHeaderControl"
    TagPrefix="My" %>
<%@ Register Src="~/WebForm/AddControl/AddWorkItemControl.ascx" TagName="AddWorkItemControl"
    TagPrefix="My" %>
<%@ Register Src="~/WebForm/SearchControl/SearchDirtyHeaderControl.ascx" TagName="SearchDirtyHeaderControl"
    TagPrefix="My" %>
<%@ Register Src="~/WebForm/ManageWorkContent/SelfRegionType.ascx" TagName="SelfRegionType"
    TagPrefix="My" %>
<%@ Register Src="~/WebForm/CommonControl/UploadFileControl.ascx" TagName="UploadFileControl"
    TagPrefix="uc2" %>
<%@ Register Src="~/WebForm/CommonControl/VolunteerQueryControl.ascx" TagName="VolunteerQueryControl"
    TagPrefix="uc4" %>
<%@ Register Src="SearchVolunteerControl_AddDirtyHeader.ascx" TagName="SearchVolunteerControl_AddDirtyHeader"
    TagPrefix="uc1" %>
<%@ Reference Control="~/WebForm/CommonControl/CalendarTextBox.ascx" %>
<%@ Reference Control="~/WebForm/AddControl/SelectTime.ascx" %>
<%@ Reference Control="~/WebForm/ManageWorkContent/SelfRegionType.ascx" %>
<%@ Register Src="~/WebForm/CommonControl/GoogleMapExif.ascx" TagName="GoogleMapExif"
    TagPrefix="My" %>
<%@ Reference Control="~/WebForm/CommonControl/GoogleMapExif.ascx" %>
<script>
Sys.Application.add_load(
 function(sender, eventArgs) {

	$('input[name*="chkAllSignIn"],input[name*="chkAllSignIn"]').click(function(){
		$('input[name*="chkSignIn"]').attr('checked', this.checked);
	});

	$('input[name*="chkAllSignOut"],input[name*="chkAllSignOut"]').click(function(){
		$('input[name*="chkSignOut"]').attr('checked', this.checked);
	});
	
    $('input[name*="chkAlldelete"],input[name*="chkAlldelete"]').click(function(){
		$('input[name*="chkdelete"]').attr('checked', this.checked);
	});

});
</script>
<table width="100%" cellpadding="0" cellspacing="0">
    <tr>
        <td class="Section">
            <asp:Label ID="lblDirtyInfo1" runat="server" meta:resourcekey="lblDirtyInfo1"></asp:Label>
        </td>
    </tr>
    <tr>
        <td>
            <table width="100%">
                <tr>
                    <td align="right">
                        <asp:Label ID="lblDirtyHeaderName" runat="server" Text="<%$ Resources:DirtyHeaderName %>"></asp:Label>
                    </td>
                    <td align="left">
                        <asp:TextBox ID="txtDirtyHeaderName" runat="server" Enabled="false"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="chk_DirtyHeaderName" runat="server" ControlToValidate="txtDirtyHeaderName"
                            Display="None" ErrorMessage="<%$ Resources:chk_txtDirtyHeaderName %>" ValidationGroup="AddWorkHeaderB"></asp:RequiredFieldValidator>
                        <asp:RequiredFieldValidator ID="chk_DirtyHeaderName_Export" runat="server" ControlToValidate="txtDirtyHeaderName"
                            Display="None" ErrorMessage="<%$ Resources:chk_txtDirtyHeaderName %>" ValidationGroup="ExportB"></asp:RequiredFieldValidator>
                        <asp:Button ID="btnSearchDirtyHeader" runat="server" CommandName="btnSearchDirtyHeader"
                            Text="<%$ Resources:btnSearchDirtyHeader %>" Visible="false" />
                    </td>
                    <td align="right">
                        <asp:PlaceHolder ID="plButtonList" runat="server">
                            <asp:Button ID="btnExport" runat="server" Text="<%$ Resources:Export %>" ValidationGroup="ExportB" />
                            <asp:ValidationSummary ID="sum_All" runat="server" DisplayMode="List" ShowMessageBox="True"
                                ShowSummary="False" ValidationGroup="AddWorkHeaderB" />
                            <asp:ValidationSummary ID="sum_Export" runat="server" DisplayMode="List" ShowMessageBox="True"
                                ShowSummary="False" ValidationGroup="ExportB" />
                            <asp:Button ID="btnUploadFile" runat="server" Text="<%$ Resources:UploadFile %>"
                                ValidationGroup="ExportB" />
                            <asp:Button ID="btnSave" runat="server" Text="<%$ Resources:Save %>" ValidationGroup="AddWorkHeaderB" />
                            <asp:Button ID="btnApprove" runat="server" Text="<%$ Resources:Approve %>" ValidationGroup="AddWorkHeaderB" />
                          <%--  <ajaxToolkit:ConfirmButtonExtender ID="ceApprove" runat="server" TargetControlID="btnApprove"
                                meta:resourcekey="ceApprove">
                            </ajaxToolkit:ConfirmButtonExtender>--%>
                        </asp:PlaceHolder>
                        <My:SearchDirtyHeaderControl ID="SearchDirtyHeaderControl1" runat="server" />
                        <uc2:UploadFileControl ID="UploadFileControl1" runat="server" isEdit="True" strClass="FindDirtyHeader" />
                    </td>
                </tr>
            </table>
            <hr />
            <table>
                <%--                        <tr>
                            <td class="Section">
                                 <asp:Label ID="lblDirtyInfo2" runat="server" meta:resourcekey="lblDirtyInfo2"></asp:Label>
                            </td>
                        </tr>--%>
                <tr>
                    <td>
                        <asp:FormView ID="fv" runat="server" DefaultMode="Insert" DataKeyNames="FindDirtyHeaderID"
                            Enabled="False">
                            <EditItemTemplate>
                                <table width="100%" align="center">
                                    <tr>
                                        <td align="right" valign="top">
                                            <asp:Label ID="lblReportDate" runat="server" meta:resourcekey="lblReportDate"></asp:Label>
                                        </td>
                                        <td>
                                            <My:CalendarTextBox ID="txtReportDate" runat="server" />
                                        </td>

                                        <td align="right">
                                            <asp:Label ID="lblLocation1" runat="server" meta:resourcekey="lblLocation1"></asp:Label>
                                        </td>
                                        <td>
                                            <table cellpadding="0" cellspacing="0">
                                                <tr>
                                                    <td>
                                                        <asp:UpdatePanel ID="upTownID" runat="server" UpdateMode="conditional">
                                                            <ContentTemplate>
                                                                <asp:DropDownList ID="ddlTownID" runat="server" AutoPostBack="true">
                                                                </asp:DropDownList>
                                                                <asp:DropDownList ID="ddlVillageID" runat="server">
                                                                </asp:DropDownList>
                                                                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" meta:resourcekey="rfvTownID"
                                                                    runat="server" ControlToValidate="ddlTownID" Display="None" SetFocusOnError="True"
                                                                    ValidationGroup="vInsert"></asp:RequiredFieldValidator>
                                                            </ContentTemplate>
                                                        </asp:UpdatePanel>
                                                    </td>
                                                    <td>
                                                        <asp:TextBox ID="txtLocation" runat="server" Text='<%# Eval("Location") %>'></asp:TextBox>
                                                        <asp:Label ID="lblLocationDescription" runat="server" SkinID="tip" meta:resourcekey="lblLocationDescription"></asp:Label>
                                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" meta:resourcekey="rfvLocation"
                                                            runat="server" ControlToValidate="txtLocation" Display="None" SetFocusOnError="True"
                                                            ValidationGroup="vInsert"></asp:RequiredFieldValidator>
                                                    </td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right" valign="top">
                                            <asp:Label ID="lblDescription" runat="server" meta:resourcekey="lblDescription"></asp:Label></td>
                                        <td colspan="3">
                                            <asp:TextBox ID="txtDescription" Columns="50" MaxLength="50" runat="server" Text='<%# Eval("Description") %>'></asp:TextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td colspan="4">
                                            <asp:Panel ID="PanelRegionType" runat="server" meta:resourcekey="PanelRegionType">
                                                <My:SelfRegionType ID="SelfRegionType1" runat="server" />
                                            </asp:Panel>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td colspan="4">
                                            <asp:Panel ID="PanelDirtyItem" runat="server" meta:resourcekey="PanelDirtyItem">
                                                <My:MyGridView ID="gvDirtyItem" SkinID="pager" runat="server" AllowHoverSelect="False" AllowPaging="false"
                                                    AllowHoverEffect="False" ShowHeader="False" MySortDirection="Ascending" TotalRowCount="0"
                                                    Width="100%" BackColor="White" BorderColor="#3366CC" BorderWidth="1px" CellPadding="4"
                                                    OnDataBound="gvDirtyItem_DataBound" OnRowDataBound="gvDirtyItem_RowDataBound">
                                                    <Columns>
                                                        <asp:TemplateField>
                                                            <itemtemplate>
                                                            <asp:Label id="lblDirtyItemName" runat="server" Text='<%# Eval("Text") %>'></asp:Label> 
                                                            </itemtemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField>
                                                            <itemtemplate>
                                                            <asp:CheckBoxList id="cbList" runat="server"></asp:CheckBoxList> 
                                                            <asp:Label id="lblSubValue" runat="server" Text='<%# Eval("SubValue") %>' Visible="False"></asp:Label>
                                                            <asp:Label id="lblSubText" runat="server" Text='<%# Eval("SubText") %>' Visible="False"></asp:Label> 
                                                            </itemtemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField>
                                                            <itemtemplate>
                                                                共計<asp:TextBox id="txtNum" runat="server" Width="35%"></asp:TextBox>處/個數 
                                                                <asp:Label id="lblValue" runat="server" Text='<%# Eval("Value") %>' Visible="False"></asp:Label>
                            
                                                            </itemtemplate>
                                                            <itemstyle width="35%" />
                                                        </asp:TemplateField>
                                                        <asp:TemplateField>
                                                            <itemtemplate>
                                                                <asp:DropDownList id="ddlDirtyLevel" runat="server"></asp:DropDownList>                             
                                                            </itemtemplate>
                                                        </asp:TemplateField>
                                                    </Columns>
                                                    <FooterStyle BackColor="#99CCCC" ForeColor="#003399" />
                                                    <HeaderStyle BackColor="#003399" Font-Bold="True" ForeColor="#CCCCFF" />
                                                    <PagerStyle BackColor="#99CCCC" ForeColor="#003399" HorizontalAlign="Left" />
                                                    <SelectedRowStyle BackColor="#009999" Font-Bold="True" ForeColor="#CCFF99" />
                                                    <RowStyle BackColor="White" ForeColor="#003399" />
                                                </My:MyGridView>
                                                <br />
                                                <asp:Repeater ID="Repeater1" runat="server" DataSourceID="SqlDataSource1">
                                                    <ItemTemplate>
                                                        <table>
                                                            <tr>
                                                                <td align="right">
                                                                    <asp:Label ID="lblDirtyLevel" runat="server" Text='<%# Eval("DirtyLevel") %>'></asp:Label>
                                                                </td>
                                                                <td>
                                                                    <asp:Label ID="lblDirtyLevelDiscription" runat="server" Text='<%# Eval("DirtyLevelDiscription") %>'></asp:Label>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </ItemTemplate>
                                                </asp:Repeater>
                                                <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:connStr %>"
                                                    SelectCommand="select b.Text + ':' as DirtyLevel,a.Text as DirtyLevelDiscription from codemapping a inner join codemapping b on a.Value = b.Value where a.tablename = 'FindDirtyItem' and a.columnName = 'DirtyLevelText' and b.tablename = 'FindDirtyItem' and b.columnName = 'DirtyLevel' ">
                                                </asp:SqlDataSource>
                                            </asp:Panel>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td colspan="4">
                                            <asp:Image ID="image1" runat="server" ImageUrl='<%#Bind("PhotoFullPath") %>' Height='<%# Me.FindDirtyPhotoHeight %>'
                                                Width='<%# Me.FindDirtyPhotoWidth %>' />
                                            <My:GoogleMapExif ID="GoogleMapExif1" Height='<%# Me.FindDirtyPhotoHeight %>'
                                                Width='<%# Me.FindDirtyPhotoWidth %>' runat="server" />
                                        </td>
                                    </tr>
                                </table>
                            </EditItemTemplate>
                        </asp:FormView>
                    </td>
                </tr>
            </table>

        </td>
    </tr>
    <tr>
        <td class="Section">
            <asp:Label ID="lblLeaderInfo" runat="server" meta:resourcekey="lblLeaderInfo"></asp:Label></td>
    </tr>
    <tr>
        <td align="center">
            <My:AddLeader ID="AddLeader1" runat="server" ValidationGroup="AddWorkHeaderB" />
        </td>
    </tr>
    <asp:PlaceHolder ID="plCleanResult" runat="server">
        <tr>
            <td class="Section">
                <asp:Label ID="lblCleanResult" runat="server" meta:resourcekey="lblCleanResult"></asp:Label>
            </td>
        </tr>
        <tr align="center">
            <td>
                <My:AddWorkHeaderControl ID="AddWorkHeaderControl1" runat="server" />
                <br />
                <My:AddWorkItemControl ID="AddWorkItemControl1" runat="server" />
            </td>
        </tr>
    </asp:PlaceHolder>
    <tr>
        <td align="center">
            <br />
        </td>
    </tr>
    <tr>
        <td class="Section">
            <asp:Label ID="lblVolunteerList" runat="server" meta:resourcekey="lblVolunteerList"></asp:Label>
        </td>
    </tr>
</table>
<div align="center">
    <table>
        <tr>
            <td>
                <uc4:VolunteerQueryControl ID="VolunteerQueryControl1" runat="server" />
            </td>
            <td valign="bottom">
                <asp:Button ID="btnQuery" runat="server" Text="<%$ Resources:Query %>" />
            </td>
        </tr>
    </table>
</div>
<hr />
<div align="right">
    <asp:Label ID="lblDefaultWorkHour" runat="server" Text="<%$ Resources:DefaultWorkHour %>"></asp:Label>
    <asp:TextBox ID="txtDefaultWorkHour" runat="server" MaxLength="7" Width="60px"></asp:TextBox>
    <asp:RequiredFieldValidator ID="chk_txtDefaultWorkHour" runat="server" ErrorMessage="<%$ Resources:chk_txtDefaultWorkHour %>"
        ControlToValidate="txtDefaultWorkHour" Display="None" ValidationGroup="ShowPersonB"></asp:RequiredFieldValidator>
    <asp:RangeValidator ID="chk_txtDefaultWorkHour2" runat="server" ErrorMessage="<%$ Resources:chk_txtDefaultWorkHour2 %>"
        Display="None" MaximumValue="999.999" MinimumValue="0.000" Type="Double" ValidationGroup="ShowPersonB"
        ControlToValidate="txtDefaultWorkHour"></asp:RangeValidator>
    <asp:PlaceHolder ID="plVolunteerCondition" runat="server" Visible="false">
        <asp:Label ID="lblDefaultWorkTimes" runat="server" Text="<%$ Resources:DefaultWorkTimes %>"></asp:Label>
        <asp:TextBox ID="txtDefaultWorkTimes" runat="server" MaxLength="5" Width="60px" Height="19px"></asp:TextBox>
        <asp:RequiredFieldValidator ID="chk_txtDefaultWorkTimes" runat="server" ErrorMessage="<%$ Resources:chk_txtDefaultWorkTimes %>"
            ControlToValidate="txtDefaultWorkTimes" Display="None" ValidationGroup="ShowPersonB"></asp:RequiredFieldValidator>
        <asp:RangeValidator ID="chk_txtDefaultWorkTimes2" runat="server" ErrorMessage="<%$ Resources:chk_txtDefaultWorkTimes2 %>"
            ControlToValidate="txtDefaultWorkTimes" Display="None" MaximumValue="99999" MinimumValue="0"
            Type="Integer" ValidationGroup="ShowPersonB"></asp:RangeValidator>
    </asp:PlaceHolder>
    <asp:Button ID="btnUpdateHour" runat="server" meta:resourcekey="btnUpdateHour" ValidationGroup="ShowPersonA"
        CommandName="btnUpdateHour" />
    <ajaxToolkit:ConfirmButtonExtender ID="cbUpdateHour" runat="server" TargetControlID="btnUpdateHour"
        meta:resourcekey="cbUpdateHour">
    </ajaxToolkit:ConfirmButtonExtender>
<asp:UpdatePanel ID="up" runat="server">
    <ContentTemplate>
    <asp:Button ID="btnUpdate" runat="server" Text="<%$ Resources:Update %>" />
    <asp:Button ID="btnDelete" runat="server" Text="<%$ Resources:Delete %>" />
    <asp:Button ID="btnShowPerson" runat="server" Text="<%$ Resources:ShowPerson %>"
        ValidationGroup="ShowPersonB" />

    <asp:ValidationSummary ID="sum_ShowPerson" runat="server" DisplayMode="List" ShowMessageBox="True"
        ShowSummary="False" ValidationGroup="ShowPersonB" />
   </ContentTemplate>
</asp:UpdatePanel>
</div>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate>
<div id="Table1" align=center style="OVERFLOW: auto; HEIGHT: 300px">
        <table width="100%" cellpadding="0" cellspacing="0">
            <tr>
                <td align="right"><asp:Label ID="lblTotal" runat="server"></asp:Label></td>
           </tr>
           <tr>
                <td>
                    <My:MyGridView ID="GridView_VolunteersDirty" runat="server" AllowHoverEffect="False" AllowHoverSelect="False"
                        AllowPaging="false" AllowSorting="True" AutoGenerateColumns="False" DataKeyNames="RecordID"
                        MySortDirection="Ascending" SkinID="pager" meta:resourcekey="gv">
                        <Columns>
                            <asp:TemplateField HeaderText="<%$ Resources:VOrganizationName %>" SortExpression="VOrganizationName">
                                            <itemtemplate>
                                                            <%#Eval("VOrganizationName") %>
                                </itemtemplate>
                                            <itemstyle horizontalalign="Center" />
                                        </asp:TemplateField>
                               <My:VolunteerIDBoundField DataField="VolunteerID" HeaderText="<%$ Resources:VolunteerID %>"
                                ReadOnly="True" SortExpression="VolunteerID" />
                            <asp:BoundField DataField="VolunteerName" HeaderText="<%$ Resources:VolunteerName %>"
                                SortExpression="VolunteerName" ReadOnly="True" />
                            <asp:TemplateField HeaderText="<%$ Resources:WorkHour %>" SortExpression="WorkHour">
                                <itemtemplate>
                                    <asp:TextBox ID="txtWorkHour" runat="server" MaxLength="7" 
                                        Text='<%# Bind("WorkHour") %>' ValidationGroup="EditWorkRecord" Width="60px"></asp:TextBox>
                                    <asp:RangeValidator ID="chk_txtWorkHour" runat="server" 
                                        ControlToValidate="txtWorkHour" Display="None" 
                                        ErrorMessage="<%$ Resources:chk_txtWorkHour %>" MaximumValue="999.999" 
                                        MinimumValue="0.000" ValidationGroup="EditWorkRecord"></asp:RangeValidator>
                                </itemtemplate>
                                <itemstyle width="60px" />
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="<%$ Resources:WorkTimes %>" SortExpression="WorkTimes"
                                Visible="false">
                                <itemtemplate>
                                    <asp:TextBox ID="txtWorkTimes" runat="server" MaxLength="5" 
                                        Text='<%# Bind("WorkTimes") %>' ValidationGroup="EditWorkRecord" Width="60px"></asp:TextBox>
                                    <asp:RangeValidator ID="chk_txtWorkTimes" runat="server" 
                                        ControlToValidate="txtWorkTimes" Display="None" 
                                        ErrorMessage="<%$ Resources:chk_txtWorkTimes %>" MaximumValue="99999999" 
                                        MinimumValue="0" ValidationGroup="EditWorkRecord"></asp:RangeValidator>
                                </itemtemplate>
                                <itemstyle width="60px" />
                            </asp:TemplateField>
                            <asp:TemplateField Visible="False">
                                <itemtemplate>
                                    <asp:LinkButton ID="lbtnUpdate" runat="server" CommandName="Update" 
                                        Text="<%$ Resources:Update %>" ValidationGroup="EditWorkRecord"></asp:LinkButton>
                                </itemtemplate>
                                <edititemtemplate>
                                    &nbsp;
                                </edititemtemplate>
                                <itemstyle horizontalalign="Center" width="80px" />
                            </asp:TemplateField>
                          <%--  <asp:TemplateField ShowHeader="False">
                                <itemtemplate>
                                    <asp:LinkButton ID="lbtnDelete" runat="server" CausesValidation="False" CommandName="Delete"
                                        Text="<%$ Resources:Delete %>" 
                                        onclientclick="<%$ Resources:ConfirmDelete %>"></asp:LinkButton>
                                </itemtemplate>
                                <itemstyle horizontalalign="Center" />
                            </asp:TemplateField>--%>
                            <asp:TemplateField  meta:resourcekey="bfdelete">
                                 <headertemplate>
                                    <asp:Label ID="bfdelete" runat="server" Text="<%$ Resources:bfdelete.HeaderText %>"></asp:Label>
                                    <asp:CheckBox ID="chkAlldelete" runat="server" OnCheckedChanged="chkAlldelete_CheckedChanged"
                                        AutoPostBack="true"></asp:CheckBox>
                                </headertemplate>
                                <itemtemplate>
                                    <asp:CheckBox ID="chkdelete" runat="server"></asp:CheckBox>
                                </itemtemplate>
                                <itemstyle horizontalalign="Center" />
                            </asp:TemplateField>
                            <asp:TemplateField meta:resourcekey="bfSignIn">
                                <headertemplate>
                                    <asp:Label ID="bfSignIn" runat="server" Text="<%$ Resources:bfSignIn.HeaderText %>"></asp:Label>
                                    <asp:CheckBox ID="chkAllSignIn" runat="server" OnCheckedChanged="chkAllSignIn_CheckedChanged"
                                        AutoPostBack="true" Checked="true"></asp:CheckBox>
                                </headertemplate>
                                <itemtemplate>
                                    <asp:CheckBox ID="chkSignIn" runat="server"></asp:CheckBox>
                                </itemtemplate>
                                <itemstyle horizontalalign="Center" />
                            </asp:TemplateField>
                            <asp:TemplateField meta:resourcekey="bfSignOut">
                                <headertemplate>
                                    <asp:Label ID="bfSignOut" runat="server" Text="<%$ Resources:bfSignOut.HeaderText %>"></asp:Label>
                                    <asp:CheckBox ID="chkAllSignOut" runat="server" OnCheckedChanged="chkAllSignOut_CheckedChanged"
                                        AutoPostBack="true" Checked="true"></asp:CheckBox>
                                </headertemplate>
                                <itemtemplate>
                                    <asp:CheckBox ID="chkSignOut" runat="server"></asp:CheckBox>
                                </itemtemplate>
                                <itemstyle horizontalalign="Center" />
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="<%$ Resources:Status %>" Visible="false">
                                <itemtemplate>
                                    <asp:CheckBoxList ID="cblCheckStatus" runat="server" OnDataBinding="cblCheckStatus_DataBinding"
                                        RepeatDirection="Horizontal">
                                        <asp:ListItem>簽到</asp:ListItem>
                                        <asp:ListItem>簽退</asp:ListItem>
                                    </asp:CheckBoxList>
                                </itemtemplate>
                            </asp:TemplateField>
                        </Columns>
                    </My:MyGridView>
                </td>
            </tr>
        </table>
       </div>
    </ContentTemplate>
</asp:UpdatePanel>


<uc1:SearchVolunteerControl_AddDirtyHeader ID="SearchVolunteerControl_AddDirtyHeader1"
    runat="server" />
<asp:ValidationSummary ID="sum_EditWorkRecordB" runat="server" DisplayMode="List"
    ShowMessageBox="True" ShowSummary="False" ValidationGroup="EditWorkRecordB" />
